package com.wanmait.hr.vo;

import java.sql.Timestamp;
import java.util.List;

/**PostType class
 *
 * @author 王志斌
 * @date 2019-02-05
 * */
public class PostType {
    private Integer id;

    private String name;

    private Integer prentId;

    private Timestamp time;

    private User upAdmin;

    private User updateAdmin;

    private Boolean enable;

    private List<PostType> postTypeList;

    public List<PostType> getPostTypeList() {
        return postTypeList;
    }

    public void setPostTypeList(List<PostType> postTypeList) {
        this.postTypeList = postTypeList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getPrentId() {
        return prentId;
    }

    public void setPrentId(Integer prentId) {
        this.prentId = prentId;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public User getUpAdmin() {
        return upAdmin;
    }

    public void setUpAdmin(User upAdminId) {
        this.upAdmin = upAdmin;
    }

    public User getUpdateAdmin() {
        return updateAdmin;
    }

    public void setUpdateAdmin(User updateAdmin) {
        this.updateAdmin = updateAdmin;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }
}